# $Id: PKGBUILD 143735 2011-11-28 17:46:25Z giovanni $
# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
# Contributor: Jason Chu <jason@archlinux.org>

pkgname=dvgrab
pkgver=3.5
pkgrel=4
pkgdesc="Saves audio and video data from an IEEE (FireWire) digital source"
arch=('i686' 'x86_64')
url="http://www.kinodv.org/"
license=('GPL')
depends=('libdv' 'libavc1394' 'libjpeg-turbo' 'libiec61883' 'gcc-libs')
makedepends=('pkgconfig')
source=("http://downloads.sourceforge.net/kino/${pkgname}-${pkgver}.tar.gz")
md5sums=('b39a242ce63e80fc347ab59931f75649')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"

  ./configure --prefix=/usr
  make
}

package() {
  cd "${srcdir}/${pkgname}-${pkgver}"

  make DESTDIR="${pkgdir}" install
}
